package com.xxmw.transaction.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName(value = "sys_dict")
public class SysDict implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@TableId(type = IdType.AUTO)
	@TableField(value = "dict_id")
	private Integer dictId;
	
	@TableField(value = "`Key`")
	private String key;
	
	private String value;
	
	private String remark;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date created;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updated;
}
